package com.znsd.zl.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.znsd.zl.house.entity.HouseImageEntity;

import java.util.List;

/**
 * @ClassName THouseImage
 * @Description 描述
 * @author jaypdd
 * @email jaypdd@163.com
 * @date 2020-08-26 23:20:43
 * @Version v1.0
 */
public interface HouseImageService extends IService<HouseImageEntity> {
	/**
	 * 查询前五图片
	 * @return
	 */
	List<HouseImageEntity> firstFive();

	/**
	 * 设置轮播图
	 * @param id
	 * @return
	 */
	String setSlideshow(Integer id);

	/**
	 * 按房源Id查询房源图片
	 * @param houseId
	 * @return
	 */
	List<HouseImageEntity> findByHouseImage(Integer houseId);
}

